package com.xiaoq.apis.order;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;

/**
 * Created by chenjh on 2017/12/13.
 */

@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class SKUTicket4SitesVo implements Serializable {
    private static final long serialVersionUID = 6248988170110509696L;

    @ApiModelProperty(name = "id", value = "sku 主键")
    private String id; //sku 主键

    @ApiModelProperty(name = "shopId", value = "店（景区）ID", position=10)
    private String shopId; //店（景区）ID

    @ApiModelProperty(name = "spuCode", value = "SPU编码", position=20)
    private String spuCode; //SPU编码

    @ApiModelProperty(name = "spuName", value = "SPU名称（冗余存储）", position=30)
    private String spuName; //SPU名称（冗余存储）

    @ApiModelProperty(name = "skuCode", value = "SKU编码", position=40)
    private String skuCode; //SKU编码

    @ApiModelProperty(name = "price", value = "原始价格（在商品发布时设置）", position=50)
    private double price;  //原始价格（在商品发布时设置）

    @ApiModelProperty(name = "discountPrice", value = "折扣价格（在限时折扣中设置）", position=60)
    private double discountPrice; //折扣价格（在限时折扣中设置）

    @ApiModelProperty(name = "specifications", value = "票的类型code 成人票(100), 儿童票(200), 学生票(300),老人票(400),组合套餐(500),其他票(600)", position=70)
    private String specifications;

    /**
     * 是否限购（门票。 0：不限购， 其他限购（人数））
     */
    @ApiModelProperty(name = "max2PermitPurchased", value = "是否限购（门票。 0：不限购， 其他限购（张数））", position=90)
    private Integer max2PermitPurchased;

    /**
     *门票-说明标签
     */
    @ApiModelProperty(name = "ticketLabels", value = "门票-说明标签[1: 16:00前可订今日票, 2: 随时退]", position=100)
    private List<TicketTagVo> ticketLabels;

    /**
     *门票-预定须知
     */
    @ApiModelProperty(name = "bookNotices", value = "门票-预定须知", position=110)
    private List<TicketTagVo> bookNotices;

    /**
     * 商品销售状态  1:上架中;-1:已下架;
     */
    @ApiModelProperty(name = "saleState", value = "商品销售状态  1:上架中;-1:已下架;", position=120)
    private int saleState = 1 ;


    /**
     * 门票预售期（即可提前预定的天数）
     */
    @ApiModelProperty(name = "preSalePeriod", value = "门票预售期（即可提前预定门票的天数）", position=130)
    private int preSalePeriod;

    /**
     * 能否购买当日景区的票
     */
    @ApiModelProperty(name = "canOrderTodayTicket", value = "能否购买当日景区的票，1:可以，0:不可以", position=140)
    private int canOrderTodayTicket = 1;

    @ApiModelProperty(name = "stocks", value = "库存", position=150)
    private Integer stocks;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getSpuCode() {
        return spuCode;
    }

    public void setSpuCode(String spuCode) {
        this.spuCode = spuCode;
    }

    public String getSpuName() {
        return spuName;
    }

    public void setSpuName(String spuName) {
        this.spuName = spuName;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(double discountPrice) {
        this.discountPrice = discountPrice;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public Integer getMax2PermitPurchased() {
        return max2PermitPurchased;
    }

    public void setMax2PermitPurchased(Integer max2PermitPurchased) {
        this.max2PermitPurchased = max2PermitPurchased;
    }

    public int getSaleState() {
        return saleState;
    }

    public void setSaleState(int saleState) {
        this.saleState = saleState;
    }

    public int getPreSalePeriod() {
        return preSalePeriod;
    }

    public void setPreSalePeriod(int preSalePeriod) {
        this.preSalePeriod = preSalePeriod;
    }

    public int getCanOrderTodayTicket() {
        return canOrderTodayTicket;
    }

    public void setCanOrderTodayTicket(int canOrderTodayTicket) {
        this.canOrderTodayTicket = canOrderTodayTicket;
    }

    public Integer getStocks() {
        return stocks;
    }

    public void setStocks(Integer stocks) {
        this.stocks = stocks;
    }

    public List<TicketTagVo> getTicketLabels() {
        return ticketLabels;
    }

    public void setTicketLabels(List<TicketTagVo> ticketLabels) {
        this.ticketLabels = ticketLabels;
    }

    public List<TicketTagVo> getBookNotices() {
        return bookNotices;
    }

    public void setBookNotices(List<TicketTagVo> bookNotices) {
        this.bookNotices = bookNotices;
    }
}
